from django.urls import path
from . import views

app_name = 'api_docs'

urlpatterns = [
    path('', views.api_docs_home, name='home'),
    path('config.json', views.api_config_json, name='config_json'),
    path('category/<str:category_id>/', views.api_category_detail, name='category_detail'),
    path('api/<str:category_id>/<str:api_id>/', views.api_detail, name='api_detail'),
    path('config-editor/', views.config_editor, name='config_editor'),
    path('save-config/', views.save_config, name='save_config'),
    path('download/<str:language>/', views.download_language_template, name='download_template'),
    path('map-editor/', views.map_editor, name='map_editor'),
    path('save-map/', views.save_map, name='save_map'),
]